/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.charlie.sessions;

import com.charlie.beans.UsersGroups;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Вова
 */
@Stateless
public class UsersGroupsFacade extends AbstractFacade<UsersGroups> implements UsersGroupsFacadeLocal {
    @PersistenceContext(unitName = "CharlieShop-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public UsersGroupsFacade() {
        super(UsersGroups.class);
    }

    }
